package com.sy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 员工实体
 */
@ApiModel(description = "员工实体")
@Data
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("员工id")
    @TableId(type = IdType.AUTO) //配置主键自增
    private Long id;
    @ApiModelProperty("员工用户名")
    private String username;
    @ApiModelProperty("员工真实姓名")
    private String name;
    @ApiModelProperty("员工密码")
    private String password;
    @ApiModelProperty("员工手机号")
    private String phone;
    @ApiModelProperty("员工性别：1:男  0:女")
    private Integer sex;
    @ApiModelProperty("员工状态：0禁用 1可用")
    private Integer status;
    @ApiModelProperty("逻辑删除：0已注销 1可用")
    private Integer isDelete;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long createUser;

    private Long updateUser;
}
